package com.yuzai.reading.mappers;

import com.yuzai.reading.entitys.UserEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserMapper {
    public UserEntity selectUserById(@Param("username") String username);

    public void updateUser(@Param("username") String username, @Param("token") String token);

    public void insertUser(UserEntity userEntity);
}
